package test.it.concept.pin.pojoadapters.adapters;

import it.concept.pin.transport.AbstractToPojoTransportHandler;
import test.it.concept.pin.pojoadapters.model.FullName;
import test.it.concept.pin.pojoadapters.pojo.FullNamePojoToInterface;

public class FullNameToPojoInterfaceHandler extends AbstractToPojoTransportHandler<FullNamePojoToInterface, FullName> {
	
	public FullNamePojoToInterface toPojo( FullNamePojoToInterface pojo, FullName model ) {
		
		pojo.nameAndLast = model.getName() + "/" + model.getLastName();
	
		return pojo;
		
	}

}
